
<template>
    <!-- <Button @click="clickHandler" v-permission="'btnDelete'" type="error" icon="close">
       删除 
    </Button> -->
    <Button size="small" type="error" v-permission="'btnDelete'" class="margin-right-5"  @click="clickHandler" :disabled="status === '待审核' || status === '审核通过' || status === '已归档'">删除</Button>

</template>

<script>
  export default {
    accessLabel: '删除',
    accessKey: 'btnDelete',
    props:{
      status:String,
      required: true
    },
    methods: {
      clickHandler (e) {
        this.$emit('delclick', e);
      }
    },
    mounted () {
    }
  };
</script>
